/*
 * @Author: June
 * @Date: 2022-11-14 14:40:09
 * @LastEditors: June
 * @LastEditTime: 2023-05-22 17:20:34
 *
 */
const getters = {
  sidebar: state => state.app.sidebar,
  size: state => state.app.size,
  device: state => state.app.device,
  token: state => state.user.token,
  isAdmin: state => state.user.isAdmin,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  tagsView: state => state.settings.tagsView,
  layoutSettings: state => state.settings.layoutSettings,
  themeNumber: state => state.settings.themeNumber,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  themeColor: state => state.colorPicker.themeColor,
  fieldList: state => state.user.fieldList,
  compInfo: state => state.user.compInfo,
  routeList: state => state.canStantRouter.routeList,
  currentMenuList: state => state.canStantRouter.currentMenuList

}
export default getters
